package org.jeecg.modules.engineering.service;

import org.jeecg.modules.engineering.entity.EquipCollectTrigger;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 设备采集触发事件规则表
 * @Author: jeecg-boot
 * @Date:   2019-08-20
 * @Version: V1.0
 */
public interface IEquipCollectTriggerService extends IService<EquipCollectTrigger> {

	public List<EquipCollectTrigger> selectByMainId(String mainId);

    void setToRedis(String itemId);

    void removeFromRedis(String itemId);

	List<EquipCollectTrigger> getFromRedisById(String itemId);

    boolean checkHaveByEventIds(List<String> asList);
}
